array immutability cheatsheet